package com.blog.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.blog.bean.Record;

/**
 * @className: IRecordDao
 * @description: 
 * @author: HCl
 * @createTime: 2020年5月26日 下午8:22:59
 */
@Repository
@Mapper
public interface IRecordDao {
	
	public List<Record> selectAllRecordByUserId(Integer userid);
	
	public Record selectRecordByUserIdAndBlogId(Record record);
	
	public int addRecord(Record record);
	
	public int updateRecord(Record record);
	
	public int deleteRecord(Integer id);
	
	public int selectRecordByBlogId(Integer id);

	
}
